package com.rop.znyx.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum PaymentType {

    ALI_PAY(1,"支付宝"),

    WEI_XIN(2,"微信" ),

    ;

    @EnumValue
    private final Integer code ;

    private final String comment ;

    PaymentType(Integer code, String comment ){
        this.code = code;
        this.comment=comment;
    }

}
